package com.jxb;

import java.lang.instrument.Instrumentation;

public class BojiaoAgent {

    public static void premain(String args, Instrumentation instrumentation){
        System.out.println("premain：获取方法调用时间");
        PerformMonitorTransformer transformer = new PerformMonitorTransformer();
        instrumentation.addTransformer(transformer);
    }

}
